package com.tiger.project.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;


/**
 * 【租金进账】对象 asset_collection_record
 *
 * @author standard
 * @date 2022-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "asset_collection_record对象", description = "【租金进账】内容")
public class AssetCollectionRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 租金id
     */
    @Excel(name = "租金id")
    @ApiModelProperty(value = "租金id")
    private Long assetReceiptId;

    /**
     * 收款金额
     */
    @Excel(name = "收款金额")
    @ApiModelProperty(value = "收款金额")
    private BigDecimal receivableAmount;

    /**
     * 收款凭证号
     */
    @Excel(name = "收款凭证号")
    @ApiModelProperty(value = "收款凭证号")
    private String voucherNumber;

    /**
     * 收款日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "收款日期")
    private Date collectionTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
